package com.example.comment_oa.pojos.rear;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName unity
 */
@TableName(value ="unity")
@Data
public class Unity implements Serializable {
    /**
     * 单位id
     */
    @TableId(value = "unity_id", type = IdType.AUTO)
    private Integer unityId;

    /**
     * 单位名称
     */
    @TableField(value = "unity_name")
    private String unityName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}